package com.quan.commons.config;

import com.quan.commons.log.DefaultOperationLogPrinter;
import com.quan.commons.log.OperationLogPrinter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 日志输出类配置
 */
@Configuration
public class OperationLogPrinterConfig {

    //    @ConditionalOnMissingBean(OperationLogPrinter.class)
    @Bean
    public OperationLogPrinter operationLogPrinter() {
        return new DefaultOperationLogPrinter();
    }
}
